package com.woniu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class NursingRecordVO {
    /**
     * 护理记录的id
     */
    private Integer id;

    /**
     * 病人姓名
     */
    private String patientName;

    /**
     * 护士姓名
     */
    private String nurseName;

    /**
     * 体温
     */
    private String temperature;

    /**
     * 血压
     */
    private String bloodPressure;

    /**
     * 心率
     */
    private Integer pulse;

    /**
     * 护理内容
     */
    private String content;

    /**
     * 护理日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nursingDate;
}
